﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO_QLNS
{
    public class OrderDTO : TransferObject
    {
        public OrderDTO() { }

        public OrderDTO(int orderID, int customerID, double price, string status)
        {
            _OrderID = orderID;
            _CustomerID = customerID;
            _TotalPrice = price;
            _Status = status;
        }

        public OrderDTO(OrderDTO order)
        {
            _OrderID = order.OrderID;
            _CustomerID = order.CustomerID;
            _TotalPrice = order.TotalPrice;
            _Status = order.Status;
        }

        private int _OrderID;
        public int OrderID
        {
            get { return _OrderID; }
            set { _OrderID = value; }
        }

        private int _CustomerID;
        public int CustomerID
        {
            get { return _CustomerID; }
            set { _CustomerID = value; }
        }

        private double _TotalPrice;
        public double TotalPrice
        {
            get { return _TotalPrice; }
            set { _TotalPrice = value; }
        }
        private string _Status;
        public string Status
        {
            get { return _Status; }
            set { _Status = value; }
        }
    }
}
